home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Experimental BBS Explossion 3
/
Experimental BBS Explossion III.iso
/
msdos
/
cache.zip
/
ICD.ASM
< prev
next >
Wrap
Assembly Source File
|
1991-10-05
|
406b
|
19 lines
.MODEL small
.STACK 100h
P486
.DATA
Message DB 'Disabling Internal Cache', 13,10,'$'
.CODE
mov ax, @data
mov ds,ax ;set DS to point to the data segment
mov ah, 9 ;DOS print string function
mov dx,OFFSET Message
int 21h
mov EAX, CR0
or EAX,060000000h ;Set Disable Cache bits CD and NW
mov CR0, EAX
invd
mov ah,4ch ;DOS terminate program function
int 21h ;terminate the program
END